package com.ibeeking.found.cop.b.rest.service;


import com.ibeeking.found.cop.service.common.param.CopJobHandleParam;
import com.ibeeking.nematos.utils.cron.TaskScheduleModel;

/**
 * ICopJobCreateService
 *
 * @Author ibeeking
 * @Date 2021-02-03 18:11
 */
public interface ICopJobCreateService {

    /***
     * 企业微信客户群发消息定时任务
     *  @param tenantId 租户id
     *  @param scheduleModel 任务执行时间设置
     *  @param handleParam 传参
     */
    Boolean createJobInfoForSendMassMessage(Integer tenantId, TaskScheduleModel scheduleModel, CopJobHandleParam handleParam);

    /***
     * 企业微信客户群群发消息定时任务
     *  @param tenantId 租户id
     *  @param scheduleModel 任务执行时间设置
     *  @param handleParam 传参
     */
    Boolean createJobInfoForSendGroupMassMessage(Integer tenantId, TaskScheduleModel scheduleModel, CopJobHandleParam handleParam);
}
